CVE-2026-6040
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Mon, 25 May 2026 11:04:39 +0000 (13:04 +0200)
committerRene Engelhard <rene@debian.org>
Mon, 25 May 2026 11:04:39 +0000 (13:04 +0200)
commit37e3dda772842ada32889081110b1f642b06c272
treeaf38a8dd9c21634be8bf0fcad2414e2c6b49c114
parent2a4389576bab1a2b4d97c1e9a6078d1a1793cedd
CVE-2026-6040

CVE-2026-6040: ODT use-after-free in lcl_InsertBlankWidthChars

oss-fuzz efforts might not have found this because the fuzzer
dictionary was based on OpenDocument-v1.3-schema.rng and the
loext:blank-width-char isn't in that schema, adding in the extra
extension schema might help for the future.

From 997ef5c01cedc4a4f8b966310d4a79906009735e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
Date: Thu, 9 Apr 2026 17:47:09 +0100
Subject: [PATCH] process loext:blank-width-char better

Change-Id: Iea005facd85443091c5144a0a0f8f15fa995dbf3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203576
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203627
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Gbp-Pq: Name CVE-2026-6040.diff
bin/oss-fuzz-setup.sh
xmloff/source/style/xmlnumfi.cxx